package actions;

import javax.ejb.EJB;
import java.util.*;
import entities.*;

import javax.ejb.Local;
import javax.naming.Context;
import javax.naming.InitialContext;
import javax.naming.NamingException;

import com.opensymphony.xwork2.ActionContext;
import com.opensymphony.xwork2.ActionSupport;

import utils.*;
import beans.*;

public class LogoutAction extends ActionSupport {

	private static final long serialVersionUID = 4L;

	public String execute() {
		ActionContext.getContext().getSession().remove("userId");
		return SUCCESS;
	}

}